home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / usefull / gadutil / docs / gadutil_usr.readme < prev    next >
Encoding:
Text File  |  1996-07-16  |  8.3 KB  |  206 lines

  1. Short:    GUI creation library (small & fast)
  2. Author:   P-O Yliniemi / Staffan Hämälä
  3. Uploader: peoyli@algonet.se (P-O Yliniemi)
  4. Version:  37.7
  5. Type:     util/libs
  6.  
  7. This is the user distribution of GadUtil library. If you are interested
  8. in developing programs that uses this library, you should get the
  9. distribution from dev/gui on Aminet.
  10.  
  11. For advanced "normal" users:
  12. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13. Two versions of the library are included: one "normal" every-day-use
  14. version and one "debug" version. If you experience any trouble running
  15. a program that uses gadutil, you should rename the normal version in libs:,
  16. copy the debug version to libs, and rename it to gadutil.library. Reverse
  17. this to change back to the normal version. Don't forget to "flush" all
  18. unused libraries or reboot before testing the program again.
  19.  
  20. Changes overview:
  21. ~~~~~~~~~~~~~~~~~
  22. * 37.7  (12-Jul-96)
  23.     Bug fix in the prototype for GU_ChangeStr (two parameters was mixed up).
  24.  
  25.     GU_ChangeStr now works for both STRING_KIND and TEXT_KIND gadgets. If the
  26.     gadget isn't a STRING or TEXT gadget nothing is done.
  27.  
  28.     Bug fix in GU_CoordsInGadBox function. The register D3 was trashed in all
  29.     earlier versions of GU.
  30.  
  31.     Three new tags allows any STRING or TEXT_KIND gadget to show a (localized)
  32.     help text for each gadget in the window. These tags also works with the
  33.     special gadgets (BEVELBOX, LABEL, PROGRESS). The gadgets attached to the
  34.     window is scanned in sequential order. If a BEVELBOX_KIND gadget matches
  35.     the pointer position, this gadget's help string will have the lowest
  36.     priority. If another BEVELBOX is found inside this, the help string for
  37.     that one will be used if there is no gadget inside that box. The help
  38.     text can also be displayed in the window/screen title.
  39.  
  40.     The TEXT_KIND, STRING_KIND, NUMBER_KIND and INTEGER_KIND gadget's current
  41.     value can now be read from the gu_Active field in the structure    that
  42.     gg_UserData points to.
  43.  
  44. * 37.6  (15-Jun-96)
  45.     gu_Active in the structure that gg_UserData points to was not updated
  46.     when using any routine that used GU_SetGadgetAttrsA(). Now it checks
  47.     the gu_Active value to see if it is out of the gadget's limits.
  48.  
  49.     gng_Flags and gng_GadgetText is now cleared before creation of every
  50.     new gadget.
  51.  
  52.     The LAYOUTA_Spacing tag for LISTVIEW_KIND gadgets is now used to
  53.     determine the height of the gadget. If the height of a gadget should
  54.     be about 4 lines (GU_HeightFactor, 4), the height of the gadget is
  55.     calculated to 4*(font height+value of LAYOUTA_Spacing tag). The same
  56.     method is used for the GU_AddHeiLines tag.
  57.  
  58.     Hotkeys for LISTVIEW_KIND gadgets works as they should again. In v37.5
  59.     of GadUtil (and probably some earlier ones), the listview didn't scroll
  60.     down when you selected the next entry.
  61.  
  62.     Inserted pragmas and prototypes for tagcalls (pragmas only for SAS/C).
  63.     It is possible to create stub routines for the tagcalls for other
  64.     compilers by using fd2pragma 2.0.
  65.  
  66.     Inserted links to the include files in the index file for GadUtil.guide.
  67.  
  68. * 37.5  (29-May-96)
  69.     Bug in PROGRESS_KIND gadget removed. If the gadget was set to
  70.     show x/0 (also 0/0), a division by zero was done.
  71.  
  72.     Two new constants added to the include files: GADUTIL_VER and
  73.     GADUTIL_REV.
  74.     
  75.     Bug fixes in test (demo) programs. The FPF_DISKFONT flag in the
  76.     TextAttr structure was unset in all demo programs. Replaced the
  77.     manual version check in the demo programs with the GadUtil function
  78.     GU_CheckVersion. Removed unnecessary IDCMP flags from the demo
  79.     programs and replaced GadTools IDCMP with the GU_MinimumIDCMP tag.
  80.  
  81. * 37.4  (14-May-96)
  82.     Created a new gadget kind: LABEL_KIND. This gadget kind is used
  83.     to place text relative to other gadgets, bevel boxes, and other
  84.     texts. Can use the same type of shadows that the text for the
  85.     bevel box.
  86.  
  87.     Implemented a new function in the library: GU_CloseFont. Works
  88.     like graphics CloseFont, but takes the parameter in A0 instead
  89.     of A1.
  90.  
  91.     Replaced the list sort routine with a new one that sorts better.
  92.  
  93.     Wrote a new document, "GadUtil.index", that have a list over all
  94.     gadutil functions, sorted by what they do. There are also some
  95.     shortcuts to all tags for gadutil's own gadget kinds.
  96.  
  97.     Created two new flags for BEVELBOX_KIND and LABEL_KIND:
  98.     BB_3DTEXT - can be used as a replacement for GUBB_3DText, TRUE
  99.     LB_3DTEXT - can be used as a replacement for GULB_3DText, TRUE
  100.  
  101. * 37.3  (10-May-96)
  102.     Enforcer hits fixed in the code that handles the GU_AdjustLeft
  103.     and GU_AdjustRight tags.
  104.  
  105.     A new function to clear the inner part of a window was added.
  106.  
  107.     A new function to size (and move, if necessary) a window was
  108.     added.
  109.  
  110.     Bug fix in assembly language include file.
  111.  
  112. * 37.2  (02-May-96)
  113.     Started programming in StormC and did some tests with the library,
  114.     noticed that there was a couple of errors in some include files.
  115.  
  116.     GU_UpdateProgress was wrongly specified in the FD/clib files.
  117.     The output of GU_GetGadgetPtr was specified as (struct Gadget *),
  118.     this is now corrected.
  119.  
  120.     Included an example in C that uses the PROGRESS_KIND gadget.
  121.  
  122. * 37.1  (01-May-96)
  123.     IMAGE_KIND gadget bug fix. The color of the unselected image of
  124.     the gadget was wrong, if the image used more than 4 colors.
  125.  
  126. * 37.0  (29-Apr-96)
  127.     A new function that checks the library's revision added.
  128.     Two new tags added: GU_FractWidth and GU_FractHeight. Suggested
  129.     by Morten Amundsen.
  130.  
  131.     Some small bug fixes in 'C' include files (unterminated comments).
  132.     Cleaned up BetterTest.c a bit (removed some {}). Bug fix on the
  133.     last line of the example (GT_ReplyIMsg -> GU_ReplyIMsg).
  134.  
  135.     Added support for StormC in both installer script and include-
  136.     file installer. Created dictionary for StormC, so that all words
  137.     that belongs to GadUtil (functions, tags and constants) is shown
  138.     in another color.
  139.  
  140. * 36.60 (24-Feb-96)
  141.     Uses the screen's font as the gadget font if no GU_DefTextAttr or
  142.     GU_TextAttr tag is used. Bug fix from v36.59. Changed some docs,
  143.     assembled all examples,    changed installation scripts.
  144.  
  145. * 36.59 (06-Jan-96)
  146.     More docs completed (all docs, finally). Bug fix in the GU_AutoWidth,
  147.     GU_AdjustLeft and GU_AdjustRight tags. The underscore character was
  148.     counted as a normal one. This made gadgets without hotkeys one char
  149.     smaller than other gadgets. A new function that sorts one or two
  150.     lists was added. Some new constants added in include files.
  151.     Changed GU_MinimumIDCMP to support hotkeys. Changed PROGRESS_KIND
  152.     to use GU_GadgetText and GU_LocaleText. Uses the screen's font as
  153.     the gadget font if no GU_DefTextAttr or GU_TextAttr tag is used.
  154.  
  155. * 36.58 (01-Jan-96)
  156.     SLIDER_KIND and SCROLLER_KIND gadgets returned wrong result in
  157.     im->Code if the gadget was changes using the hotkey. Bug reported
  158.     by Lucasz Szelag.
  159.  
  160. * 36.57 (10-Dec-95)
  161.     Some more docs finished. A memory loss bug was fixed.
  162.  
  163. * 36.56 (10-Oct-95)
  164.     Changed some routines, so that hotkeys can't be used on disabled
  165.     gadgets. Made it possible to disable IMAGE_KIND, FILE_KIND and
  166.     DRAWER_KIND gadgets.
  167.  
  168. * 36.55 (30-Sep-95)
  169.     Bug fix in the hotkey part of the library. Wrong code were sent back
  170.     when using GU_LabelHotkey with a LISTVIEW_KIND gadget. A new gadget
  171.     kind was created, PROGRESS_KIND.
  172.  
  173. * 36.54 (06-Jul-95)
  174.     Added support for GU_AutoWidth to CYCLE_KIND gadgets.
  175.  
  176. * 36.53 (05-Jul-95) 
  177.     3 new tags and 4 new flags was added for the BEVELBOX_KIND gadget.
  178.     BEVELBOX_KIND gadgets can now have a shadow added to the text in the
  179.     border. The "sun" can be placed in 4 different places. GU_MinimumIDCMP
  180.     tag was added.
  181.  
  182. * 36.52 (25-Jun-95)
  183.     First public release. Some new flags for the BEVELBOX_KIND gadget was
  184.     added. Supports a total of 100 bevelbox kinds.
  185.  
  186.  
  187.  
  188.                                           P-O 960712
  189.                                           ~~~~~~~~~~
  190.  
  191.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  192.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  193.         Per-Olof Yliniemi                           Staffan Hämälä
  194.         Box 78                                      Pellovägen 268
  195.         SE-980 61 Tärendö                           SE-957 93 Pello
  196.         SWEDEN                                      SWEDEN
  197.  
  198.         email:                                      email:
  199.           peoyli@algonet.se                           staham@algonet.se
  200.  
  201.         phone:
  202.           +46-(0)978-20522
  203.  
  204.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  205.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  206.